package cn.sportvip.repository.jpa.user;

import org.springframework.data.repository.CrudRepository;

import cn.sportvip.entity.user.Credential;

public interface CredentialRepository extends CrudRepository<Credential, Integer> {

	Credential findByEmail(String email);

	Credential findByPhone(String phone);

}
